package fpt.edu.vn.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/* 
 * Reportspams.java
 *  
 * 0.1
 * 
 * 10/15/2012 
 *  
 * Copyright notice 
 *  
 * Modification Logs: 
 *   DATE        AUTHOR      DESCRIPTION 
 *  -------------------------------------------------------- 
 *  15-Oct-2012  ThuongND    Create new 
 */
@Entity
@Table(name = "fsh_refresh")
public class RefreshTopic implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int refreshId;

	private int topicId;
	
	private Date curdate;
	
	private int countTopic;

	@Id
	@GeneratedValue
	@Column(name = "RefreshId")
	public int getRefreshId() {
		return refreshId;
	}

	public void setRefreshId(int refreshId) {
		this.refreshId = refreshId;
	}
	@Column(name = "TopicId")
	public int getTopicId() {
		return topicId;
	}

	public void setTopicId(int topicId) {
		this.topicId = topicId;
	}
	@Column(name = "Date")
	public Date getCurdate() {
		return curdate;
	}

	public void setCurdate(Date curdate) {
		this.curdate = curdate;
	}
	@Column(name = "CountTopic")
	public int getCountTopic() {
		return countTopic;
	}

	public void setCountTopic(int countTopic) {
		this.countTopic = countTopic;
	}
	
	
}
